<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:UI="clr-namespace:OpenLS.Spreadsheet.UI" x:Class="OpenLS.Spreadsheet.UI.WorksheetButtonResources"
                    
    >

  <ControlTemplate TargetType='{x:Type Button}' x:Key='worksheetButtonTemplate'>
    <Border BorderBrush='#FF9EB6CE' BorderThickness='0 0 1 1'>
      <Border BorderBrush='#FF9EB6CE' BorderThickness='1 1 0 0'>
        <Border BorderBrush='#FFD5E4F2' BorderThickness='1 1 0 0'>
                    <Border BorderBrush='#FFB0CFF7' BorderThickness='0 0 1 1' Background='{DynamicResource {x:Static UI:SpreadsheetBrushes.WorksheetButtonBrush3}}' x:Name='bg'>
            <Grid Name='grid2'>
              <Path Data='M 10 0 L 10 10 L 0 10 Z' HorizontalAlignment='Right' VerticalAlignment='Bottom' Margin='3'
                    Fill="{DynamicResource {x:Static UI:SpreadsheetBrushes.WorksheetButtonBrush1}}">
              </Path>
              <ContentPresenter/>
            </Grid>
          </Border>
        </Border>

      </Border>
    </Border>
    <ControlTemplate.Triggers>
      <Trigger Property='IsMouseOver' Value='True'>
        <Setter Property='Background' Value='{DynamicResource {x:Static UI:SpreadsheetBrushes.WorksheetButtonBrush2}}' TargetName='bg'/>
      </Trigger>
    </ControlTemplate.Triggers>
  </ControlTemplate>

</ResourceDictionary>